package com.yenlien.traceyun.usercenter.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-06-04
 * @description:
 **/
public class AppMenuTree {

    private String appId;
    private String appName;
    private String appUrl;
    private String appCode;
    private String tibetName;

    private List<MenuTree> menus;
    private List<MenuTree> flowMenus = new ArrayList<>();
    private List<MenuTree> configMenus = new ArrayList<>();

    public AppMenuTree(String appId, String appName, String appUrl, String appCode, List<MenuTree> menus) {
        this.appId = appId;
        this.appName = appName;
        this.menus = menus;
        this.appUrl = appUrl;
        this.appCode = appCode;
    }

    public List<MenuTree> getFlowMenus() {
        return flowMenus;
    }

    public void setFlowMenus(List<MenuTree> flowMenus) {
        this.flowMenus = flowMenus;
    }

    public List<MenuTree> getConfigMenus() {
        return configMenus;
    }

    public void setConfigMenus(List<MenuTree> configMenus) {
        this.configMenus = configMenus;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public List<MenuTree> getMenus() {
        return menus;
    }

    public void setMenus(List<MenuTree> menus) {
        this.menus = menus;
    }

    public String getAppUrl() {
        return appUrl;
    }

    public void setAppUrl(String appUrl) {
        this.appUrl = appUrl;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    @Override
    public String toString() {
        return "AppMenuTree{" +
                "appId='" + appId + '\'' +
                ", appName='" + appName + '\'' +
                ", menus=" + menus.size() +
                ", tibetName=" + tibetName +
                '}';
    }

    public String getTibetName() {
        return tibetName;
    }

    public void setTibetName(String tibetName) {
        this.tibetName = tibetName;
    }
}
